package com.leyantech.ecp.agenx.task.message;
import lombok.Data;

/**
 * @author dongxu.ma, {@literal <dongxu.ma@leyantech.com>}
 * @date 2021-08-24.
 */
@Data
public class PddJobKfkMsg {
  
  // 门店id
  private String sid;
  // 客服id
  private String aid;
  
  private PddJobKfkType pddJobKfkType;
  
  private String orderId;
  private String buyerId;
  
  private Integer page;
  private Integer size;
  
  private Long startTime;
  private Long endTime;

  // 任务类型
  public enum PddJobKfkType {
    // 拉评论
    ORDER_REVIEW(1),
    // 拉未支付订单
    UNPAID_ORDER(2),
    // 订单号查买家信息
    ORDER_BUYER_INFO(3),
    // 商品信息
    GOODS_INFO(4);
    
    public final int type;

    PddJobKfkType(int type) {
      this.type = type;
    }
    
  }
  
}
